function get_rate(agent_id,a,b)
{
	var url = '/interface/getrate/agent_id/'+agent_id;
	$.get(url,function(result)
			{
				$('#'+a).html(result);
				$('#'+b).html(result);
			}
	);
}
function get_package(admin_id,id)
{
	var url = '/interface/getpackage/agent_id/'+agent_id;
	$.get(url,function(result)
			{
				$('#'+id).html(result);
			}
	);
}
function config_del(obj)
{
	var number = Math.ceil(Math.random()*10000);
	input = window.prompt('请输入：'+number,'');
	if(input == number)
		{
			obj.target="selectedTodo";
			return true;
		}else{
			alert('输入验证码不正确,请刷新后再操作!');
			return false;
		}
}